﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesProjectWinform.BasicData.Entity
{
    public class SupplierModel
    {
      public long Id { get; set; }
        public string Suppliercode { get; set; }
        public string Suppliername { get; set; }
        public string Supplierabbreviation { get; set; }
        public string Suppliercontactinformation { get; set; }
        public string Supplieraddress { get; set; }
        public string Suppliercreditcode { get; set; }
        public string Supplierremarks { get; set; }
        public bool IsDeleted { get; set; } = false;
        public string CreatedBy { get; set; }
        public DateTime CreatedTime { get; set; } = DateTime.Now;
        public string UpdatedBy { get; set; }
        public DateTime UpdatedTime { get; set;} = DateTime.Now;

    }
    public class SupplierDto
    {
        public string Message { get; set; } = string.Empty;
        public string Code { get; set; } = string.Empty;
        public List<SupplierModel> Data { get; set; } = new List<SupplierModel>();
        public int TotalCount { get; set; }
    }
}
